<?php
class sfCaddyComponents extends sfComponents
{
  public function executeCaddy(sfWebRequest $request)
  {
	  
    
      
      
      if($this->getUser()->isAuthenticated()) {
      $this->form2 = new ShopCaddyForm();
      $this->form2->setDefaults(array('statut' => 1, 'product_id' => $this->productid, 'buy_id' => $this->getUser()->getId()));
  }
  }




}
